import request from '@/utils/request'
// 列表
export function ListSetting(query) {
    return request({
        url: '/system/phoneRechargeDict/list',
        method: 'get',
        params: query
    })
}
//上级
export function Superior(query) {
    return request({
        url: '/system/dict/data/list',
        method: 'get',
        params: query
    })
}
//新增
export function AddSetting(data) {
    return request({
        url: '/system/phoneRechargeDict/add',
        method: 'post',
        data: data
    })
}
//修改
export function EditSetting(data) {
    return request({
        url: '/system/phoneRechargeDict/update',
        method: 'post',
        data: data
    })
}
//删除
export function DelSetting(id) {
    return request({
        url: `/system/phoneRechargeDict/del/${id}`,
        method: 'post',

    })
}
